package com.lxmes.sales.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 合同审批列对象 nc_contract_examine
 * 
 * @author ruoyi
 * @date 2022-11-23
 */
public class NcContractExamine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date conDate;

    /** 合同类型 */
    @Excel(name = "合同类型")
    private String conType;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String conCode;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String conName;

    /** 签约方代码 */
    @Excel(name = "签约方代码")
    private String signCode;

    /** 签约方名称 */
    @Excel(name = "签约方名称")
    private String signName;

    /** 合同内容 */
    @Excel(name = "合同内容")
    private String conContent;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String proCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String proName;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private BigDecimal proNum;

    /** 合同金额 */
    @Excel(name = "合同金额")
    private BigDecimal proMoney;

    /** 合同期限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同期限", width = 30, dateFormat = "yyyy-MM-dd")
    private Date conTimeLimit;

    /** 交付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryDate;

    /** 经办人 */
    @Excel(name = "经办人")
    private String agent;

    /** 批准人 */
    @Excel(name = "批准人")
    private String approver;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConDate(Date conDate) 
    {
        this.conDate = conDate;
    }

    public Date getConDate() 
    {
        return conDate;
    }
    public void setConType(String conType) 
    {
        this.conType = conType;
    }

    public String getConType() 
    {
        return conType;
    }
    public void setConCode(String conCode) 
    {
        this.conCode = conCode;
    }

    public String getConCode() 
    {
        return conCode;
    }
    public void setConName(String conName) 
    {
        this.conName = conName;
    }

    public String getConName() 
    {
        return conName;
    }
    public void setSignCode(String signCode) 
    {
        this.signCode = signCode;
    }

    public String getSignCode() 
    {
        return signCode;
    }
    public void setSignName(String signName) 
    {
        this.signName = signName;
    }

    public String getSignName() 
    {
        return signName;
    }
    public void setConContent(String conContent) 
    {
        this.conContent = conContent;
    }

    public String getConContent() 
    {
        return conContent;
    }
    public void setProCode(String proCode) 
    {
        this.proCode = proCode;
    }

    public String getProCode() 
    {
        return proCode;
    }
    public void setProName(String proName) 
    {
        this.proName = proName;
    }

    public String getProName() 
    {
        return proName;
    }

    public void setProMoney(BigDecimal proMoney) 
    {
        this.proMoney = proMoney;
    }

    public BigDecimal getProMoney() 
    {
        return proMoney;
    }
    public void setConTimeLimit(Date conTimeLimit) 
    {
        this.conTimeLimit = conTimeLimit;
    }

    public Date getConTimeLimit() 
    {
        return conTimeLimit;
    }
    public void setDeliveryDate(Date deliveryDate) 
    {
        this.deliveryDate = deliveryDate;
    }

    public Date getDeliveryDate() 
    {
        return deliveryDate;
    }
    public void setAgent(String agent) 
    {
        this.agent = agent;
    }

    public String getAgent() 
    {
        return agent;
    }
    public void setApprover(String approver) 
    {
        this.approver = approver;
    }

    public String getApprover() 
    {
        return approver;
    }

    public BigDecimal getProNum() {
        return proNum;
    }

    public void setProNum(BigDecimal proNum) {
        this.proNum = proNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("conDate", getConDate())
            .append("conType", getConType())
            .append("conCode", getConCode())
            .append("conName", getConName())
            .append("signCode", getSignCode())
            .append("signName", getSignName())
            .append("conContent", getConContent())
            .append("proCode", getProCode())
            .append("proName", getProName())
            .append("proNum", getProNum())
            .append("proMoney", getProMoney())
            .append("conTimeLimit", getConTimeLimit())
            .append("deliveryDate", getDeliveryDate())
            .append("agent", getAgent())
            .append("approver", getApprover())
            .toString();
    }
}
